package com.svms.service.vo;

/**
 * @author om39a
 * 
 */
/**
 * @author om39a
 * 
 */
public class VehicleAlertVO extends AlertVO {

	private String vehicleNumber;

	public String getVehicleNumber() {
		return vehicleNumber;
	}

	public void setVehicleNumber(String vehicleNumber) {
		this.vehicleNumber = vehicleNumber;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((vehicleNumber == null) ? 0 : vehicleNumber.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		VehicleAlertVO other = (VehicleAlertVO) obj;
		if (vehicleNumber == null) {
			if (other.vehicleNumber != null)
				return false;
		} else if (!vehicleNumber.equals(other.vehicleNumber))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "VehicleAlertVO [vehicleNumber=" + vehicleNumber + "]";
	}

}
